package com.wms.data.pojo;

import java.util.Date;

public class SystemUser extends AbstractWMSPojo {

	private static final long serialVersionUID = 1L;
	
	public static final String PROP_LOGIN_STATUS_SUCCESS = "1";
	public static final String PROP_LOGIN_STATUS_LOCKED = "2";
	public static final String PROP_LOGIN_STATUS_LOCKING = "3";
	public static final String PROP_LOGIN_STATUS_ERROR = "4";
	public static final String PROP_LOGIN_STATUS_USERID_NO = "5";
	
	public static final String PROP_PX_PREFERRED_LOCALE = "px_preferred_locale";
	
	public static final String PROP_ID = "ID";

	public static final String PROP_SESSION_CODE_USER = "SYSTEM_USER";
	
	// 用户名
	private String userName;
	
	// 用户密码
	private String userPassword;
	
	// 真实姓名
	private String chineseName;
	
	// 权限id
	private String roleID;
	
	// 登录失败次数
	private Long unsuccessfulAttemptNum;
	
	// 用户Email
	private String emailAddr;
	
	// 最后密码修改时间
	private Date lastPasswordUpdateDate;
	
	// 最后登录时间
	private Date lastLoginDate;
	
	// 最后登录IP
	private String lastLoginIP;
	
	// 最后登录IP对应区域
	private String lastLoginIPAddr;
	
	// 用户状态
	private String status;
	
	// 用户登录状态
	private String loginStatus;
	
	// 备注
	private String remarks;

	public String getUserName() {

		return userName;
	}

	public void setUserName(String userName) {

		this.userName = userName;
	}

	public String getUserPassword() {

		return userPassword;
	}

	public void setUserPassword(String userPassword) {

		this.userPassword = userPassword;
	}

	public String getChineseName() {

		return chineseName;
	}

	public void setChineseName(String chineseName) {

		this.chineseName = chineseName;
	}

	public String getRoleID() {

		return roleID;
	}

	public void setRoleID(String roleID) {

		this.roleID = roleID;
	}

	public Long getUnsuccessfulAttemptNum() {

		return unsuccessfulAttemptNum;
	}

	public void setUnsuccessfulAttemptNum(Long unsuccessfulAttemptNum) {

		this.unsuccessfulAttemptNum = unsuccessfulAttemptNum;
	}

	public String getEmailAddr() {

		return emailAddr;
	}

	public void setEmailAddr(String emailAddr) {

		this.emailAddr = emailAddr;
	}

	public Date getLastPasswordUpdateDate() {

		return lastPasswordUpdateDate;
	}

	public void setLastPasswordUpdateDate(Date lastPasswordUpdateDate) {

		this.lastPasswordUpdateDate = lastPasswordUpdateDate;
	}

	public Date getLastLoginDate() {

		return lastLoginDate;
	}

	public void setLastLoginDate(Date lastLoginDate) {

		this.lastLoginDate = lastLoginDate;
	}

	public String getLastLoginIP() {

		return lastLoginIP;
	}

	public void setLastLoginIP(String lastLoginIP) {

		this.lastLoginIP = lastLoginIP;
	}

	public String getLastLoginIPAddr() {

		return lastLoginIPAddr;
	}

	public void setLastLoginIPAddr(String lastLoginIPAddr) {

		this.lastLoginIPAddr = lastLoginIPAddr;
	}

	public String getStatus() {

		return status;
	}

	public void setStatus(String status) {

		this.status = status;
	}

	public String getLoginStatus() {

		return loginStatus;
	}

	public void setLoginStatus(String loginStatus) {

		this.loginStatus = loginStatus;
	}

	public String getRemarks() {

		return remarks;
	}

	public void setRemarks(String remarks) {

		this.remarks = remarks;
	}
}